package com.dorm.entity;

import com.fasterxml.jackson.annotation.JsonBackReference;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class HygieneRecord extends BaseEntity {
    private Long id;
    private Long roomId;
    private Integer score;
    private String comments;
    private String checkTime;
    
    // 关联字段
    @JsonBackReference
    private Room room;
} 